package edu.sctu.practice.class02.zengguangchuan.test08;

/**
 * Created by lenovo0 on 2015/10/21.
 */
public class RunVehicles {
    public static void main(String[] args) {
        Vehicles in = new Vehicles("甲壳虫", "黑色");
        Car in2 = new Car("白色", "奥迪", 4);
        Truck in3 = new Truck("红色", "大众", 10);
        in.run();
        in.showInfo();
        in2.run();
        in2.showCar();
        in3.run();
        in3.showTruck();

    }
}
